import java.util.Comparator;


public class MyComparator implements Comparator<IntegerElement>{
	@Override
	public int compare(IntegerElement arg0, IntegerElement arg1) {
		if( arg0.getValue() > arg1.getValue() ) {
			return 1;
		}
		if( arg0.getValue() < arg1.getValue() ) {
			return -1;
		}
		return 0;
	}

}
